Skip to content

Conversation

@ytdHuang
Copy link
Member

@ytdHuang ytdHuang commented Jan 16, 2025

Checklist

Thank you for contributing to QuantumToolbox.jl! Please make sure you have finished the following tasks before opening the PR.

  • Please read Contributing to QuantumToolbox.jl.
  • Any code changes were done in a way that does not break public API.
  • Appropriate tests were added and tested locally by running: make test.
  • Any code changes should be julia formatted by running: make format.
  • All documents (in docs/ folder) related to code changes were updated and able to build locally by running: make docs.
  • (If necessary) the CHANGELOG.md should be updated (regarding to the code changes) and built by running: make changelog.

Request for a review after you have completed all the tasks. If you have not finished them all, you can also open a Draft Pull Request to let the others know this on-going work.

Description

As title.

Our package already supports the Kronecker product between AbstractArray and AbstractSciMLOperator. But it uses the lazy tensor method given in SciMLOperator.jl. We should throw an warning so that users understand that the lazy tensor method is used.

@ytdHuang ytdHuang marked this pull request as ready for review January 16, 2025 06:00
@codecov
Copy link

codecov bot commented Jan 16, 2025

Codecov Report

Attention: Patch coverage is 90.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 93.16%. Comparing base (4f81980) to head (5c2e4e4).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
src/utilities.jl 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #370      +/-   ##
==========================================
+ Coverage   93.15%   93.16%   +0.01%     
==========================================
  Files          43       43              
  Lines        2775     2781       +6     
==========================================
+ Hits         2585     2591       +6     
  Misses        190      190              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ytdHuang ytdHuang merged commit 88bf11b into qutip:main Jan 18, 2025
22 of 24 checks passed
@ytdHuang ytdHuang deleted the fix/lazy-tensor-warning branch January 18, 2025 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants